<?php

/**
 * this class provides some few functions for workin with data rows
 * @author		ungerboeck simon <su@militaerversand.at>
 *
 */
class DataRow {
    private $dataCells = array();


    /************************************************************************
     ************************** PUBLIC FUNCTIONS ****************************
     ************************************************************************/

    /**
     * adds a data cell to the current row
     * @param         mixed         $cell
     */
    public function addCell(DataCell $cell) {
        array_push($this->dataCells, $cell);
    }


    /**
     * returns all data cells of current row
     * @return         array
     */
    public function getCells() {
        return $this->dataCells;
    }
}